package com.ruijie.autotest.log.common.crypto;

import javax.crypto.SecretKey;

public interface Algorithm {
	SecretKey createSecretKey(String password);

	String algorithm();

	default String patternOf(String strategyName, String paddingName) {
		return algorithm() + "/" + strategyName + "/" + paddingName;
	}
}
